using System;
using System.Collections.Generic;
namespace ns0
{
	public sealed class BarcodeFormat
	{
		private static readonly Dictionary<object, object> dictionary_0 = new Dictionary<object, object>();
		public static readonly BarcodeFormat ALL_1D = new BarcodeFormat("ALL_1D");
		public static readonly BarcodeFormat UPC_EAN = new BarcodeFormat("UPC_EAN");
		public static readonly BarcodeFormat QR_CODE = new BarcodeFormat("QR_CODE");
		public static readonly BarcodeFormat DATAMATRIX = new BarcodeFormat("DATAMATRIX");
		public static readonly BarcodeFormat UPC_E = new BarcodeFormat("UPC_E");
		public static readonly BarcodeFormat UPC_A = new BarcodeFormat("UPC_A");
		public static readonly BarcodeFormat EAN_8 = new BarcodeFormat("EAN_8");
		public static readonly BarcodeFormat EAN_13 = new BarcodeFormat("EAN_13");
		public static readonly BarcodeFormat CODE_128 = new BarcodeFormat("CODE_128");
		public static readonly BarcodeFormat CODE_39 = new BarcodeFormat("CODE_39");
		public static readonly BarcodeFormat ITF = new BarcodeFormat("ITF");
		public static readonly BarcodeFormat PDF417 = new BarcodeFormat("PDF417");
		private string string_0;
		public string Name
		{
			get
			{
				return this.string_0;
			}
		}
		private BarcodeFormat(string string_1)
		{
			this.string_0 = string_1;
			BarcodeFormat.dictionary_0.set_Item(string_1, this);
		}
		public override string ToString()
		{
			return this.string_0;
		}
		public static BarcodeFormat valueOf(string name)
		{
			BarcodeFormat barcodeFormat = (BarcodeFormat)BarcodeFormat.dictionary_0.get_Item(name);
			if (barcodeFormat == null)
			{
				throw new ArgumentException();
			}
			return barcodeFormat;
		}
	}
}
